<template>
  <div>
    {{ showValue }}
  </div>
</template>

<script>
export default {
  name: 'table-item-renderer',
  props: ['col', 'colData'],
  computed: {
    showValue() {
      const obj = this.colData[this.col.columnName]
      return obj ? obj.name : '--'
    }
  },
  mounted() {}
}
</script>
